/* -----------------
* brief
* 1. this is code gen by tools
* 2. array like [a,b,c] after each field, define the ui html tag in view,
		a for title,
		b for show or not ,
		c for element html tag , currently suppor : check、radio、select、input、textarea、upload tag
* 3. XXX
*/

package user

import "github.com/mjiulee/lego"

func init() {
	lego.AddBeanToSynList(new(TenantUser))
}

/* table: "tb_sys_tenant_user"
 * -----------------
 */
type TenantUser struct {
	/*Id    int64  `xorm:"pk"`                  // ["id","hide","hidden"]
	IfDel string `xorm:"char(1) default 'N'"` // ["deleted","hide","hidden"]
	Cdate string `xorm:"DateTime created"`    // ["create","show","datetime"]
	Udate string `xorm:"DateTime updated"`    // ["update","show","datetime"]
	// add your custom field here

	//此用户是哪个app的用户、是哪个租户的用户
	//MiniAppId        int64  `xorm:""`                  // ["MiniAppId","show","input"]
	//Tid        int64  `xorm:""`                  // ["Tid","show","input"]
	WxUid int64 `xorm:""` // ["WxUid","show","input"]*/
	User `xorm:"extends"`
}
